Optimal. Leaf size=59 \[ \frac {2 B \sqrt {\frac {a+b \cos (c+d x)}{a+b}} \Pi \left (2;\frac {1}{2} (c+d x)|\frac {2 b}{a+b}\right )}{d \sqrt {a+b \cos (c+d x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.09, antiderivative size = 59, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 34, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.088, Rules used = {21, 2886, 2884}
\begin {gather*} \frac {2 B \sqrt {\frac {a+b \cos (c+d x)}{a+b}} \Pi \left (2;\frac {1}{2} (c+d x)|\frac {2 b}{a+b}\right )}{d \sqrt {a+b \cos (c+d x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 21
Rule 2884
Rule 2886
Rubi steps
\begin {align*} \int \frac {(a B+b B \cos (c+d x)) \sec (c+d x)}{(a+b \cos (c+d x))^{3/2}} \, dx &=B \int \frac {\sec (c+d x)}{\sqrt {a+b \cos (c+d x)}} \, dx\\ &=\frac {\left (B \sqrt {\frac {a+b \cos (c+d x)}{a+b}}\right ) \int \frac {\sec (c+d x)}{\sqrt {\frac {a}{a+b}+\frac {b \cos (c+d x)}{a+b}}} \, dx}{\sqrt {a+b \cos (c+d x)}}\\ &=\frac {2 B \sqrt {\frac {a+b \cos (c+d x)}{a+b}} \Pi \left (2;\frac {1}{2} (c+d x)|\frac {2 b}{a+b}\right )}{d \sqrt {a+b \cos (c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.09, size = 59, normalized size = 1.00 \begin {gather*} \frac {2 B \sqrt {\frac {a+b \cos (c+d x)}{a+b}} \Pi \left (2;\frac {1}{2} (c+d x)|\frac {2 b}{a+b}\right )}{d \sqrt {a+b \cos (c+d x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.26, size = 167, normalized size = 2.83
method | result | size |
default | \(\frac {2 \sqrt {\left (2 \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) b +a -b \right ) \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, B \sqrt {\frac {1}{2}-\frac {\cos \left (d x +c \right )}{2}}\, \sqrt {\frac {2 \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) b +a -b}{a -b}}\, \EllipticPi \left (\cos \left (\frac {d x}{2}+\frac {c}{2}\right ), 2, \sqrt {-\frac {2 b}{a -b}}\right )}{\sqrt {-2 \left (\sin ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) b +\left (a +b \right ) \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \sin \left (\frac {d x}{2}+\frac {c}{2}\right ) \sqrt {-2 \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) b +a +b}\, d}\) | \(167\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} B \int \frac {\sec {\left (c + d x \right )}}{\sqrt {a + b \cos {\left (c + d x \right )}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {B\,a+B\,b\,\cos \left (c+d\,x\right )}{\cos \left (c+d\,x\right )\,{\left (a+b\,\cos \left (c+d\,x\right )\right )}^{3/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________